package com.warrior.superdata.dds.datasource;

/**
 * 数据库标识
 */
public class DBIdentifier {

    private static ThreadLocal<String> projectCode = new ThreadLocal<>();

    public static String getProjectCode(){
        return projectCode.get();
    }

    public static void setProjectCode(String code){
        projectCode.set(code);
    }

    public static void remove(){
        projectCode.remove();
    }
}
